﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace SetupLauncher.Domain.Util
{
    public static class DOSCommand
    {
        public static void Execute(string command)
        {
            if (string.IsNullOrEmpty(command))
                throw new ArgumentNullException("command");

            ExecuteProgram.Run("cmd.exe", "/C " + command, true);
        }
    }
}
